package com.hall.item.item.service;

import com.hall.item.item.pojo.ItemDoc;
import com.hall.item.item.pojo.RequestParams;
import com.hmall.common.dto.PageDTO;
import org.springframework.stereotype.Service;


import java.util.List;
import java.util.Map;

@Service
public interface SearchService {

    void insertById(Long id);

    void deleteById(Long id);


    List<String> getSuggestion(String key);

    Map<String, List<String>> getFilters(RequestParams params);


    PageDTO<ItemDoc> queryList(RequestParams params);
}
